
package com.hlkj.pay.service.user;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.PageResult;
import com.hlkj.pay.dto.user.UserTeleChargeOrderQueryDto;
import com.hlkj.pay.infrastructure.model.user.UserTeleChargeOrderDO;

/**
 * @author HlpayTeam
 * @date 2024/10/25 14:37
 */
public interface IUserRechargeService {

    /**
     *
     * @param teleChargeOrderDO
     */
    void addRechargeOrder(UserTeleChargeOrderDO teleChargeOrderDO);
    UserTeleChargeOrderDO queryRechargeOrderLast(Long userId);
    UserTeleChargeOrderDO queryCouponRechargeOrderLast(Long userId);

    /**
     *
     * @param userTeleChargeOrderQueryDto
     * @return
     */
    PageResult<UserTeleChargeOrderDO> queryPage(UserTeleChargeOrderQueryDto userTeleChargeOrderQueryDto);

    /**
     * 
     * @param chargeNo
     * @return
     */
    UserTeleChargeOrderDO queryDetail(String chargeNo);

    /**
     * 
     * @param updateUserTeleChargeOrderDO
     */
    void updateChargeOrder(UserTeleChargeOrderDO updateUserTeleChargeOrderDO);
}
